package com.ruicar.afs.cloud.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.product.condition.WorkTaskCondition;
import com.ruicar.afs.cloud.product.entity.WorkTaskAssign;
import com.ruicar.afs.cloud.product.vo.WorkTaskLaunchVo;
import com.ruicar.afs.cloud.product.vo.WorkTaskModifyVo;
import com.ruicar.afs.cloud.product.vo.WorkTaskSumVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author mingzhi.li
 */
public interface WorkTaskAssignMapper extends BaseMapper<WorkTaskAssign> {

    //获取待办任务汇总信息
    IPage<List<WorkTaskSumVo>> getWorkTaskSum(Page page, @Param("condition") WorkTaskCondition condition);

    //获取待办任务汇总信息
    IPage<List<WorkTaskLaunchVo>> queryApproveTaskLaunchList(Page page, @Param("condition") WorkTaskCondition condition);

    //获取待办任务汇总信息
    IPage<List<WorkTaskModifyVo>> queryApproveTaskModifyList(Page page, @Param("condition") WorkTaskCondition condition);

}
